#ifndef HTTPREQUEST_HPP
#define HTTPREQUEST_HPP

#include <string>
#include <map>

#include "io/ConnectionInfo.h"
#include "HttpBaseHeader.hpp"

class HttpRequest: public HttpBaseHeader {
private:

	std::string httpQuery;
	std::string httpMethod;
public:
HttpRequest() {
	//headers["Accept-Encoding"]="identity";
}
	virtual void addHeader(const std::string & key, const std::string & value);
	void setHttpQuery(const std::string & httpQuery);
	std::string getHttpQuery() const;
	std::string getHttpMethod() const ;
	void setHttpMethod(const std::string & httpMethod);
	ConnectionInfo getConnectionInfo() const;

	virtual std::string toString() const;
};

#endif /* HTTPREQUEST_HPP */
